Skip to content

chore(deps): update Android SDK to v8.37.1#5884

Open
github-actions[bot] wants to merge 1 commit intomainfrom
deps/scripts/update-android.sh
Open

chore(deps): update Android SDK to v8.37.1#5884
github-actions[bot] wants to merge 1 commit intomainfrom
deps/scripts/update-android.sh

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 25, 2026

Bumps scripts/update-android.sh from 8.36.0 to 8.37.1.

Auto-generated by a dependency updater.

Changelog

8.37.1

Fixes

  • Fix deadlock in SentryContextStorage.root() with virtual threads and OpenTelemetry agent (#5234)

8.37.0

Fixes

  • Session Replay: Fix Compose text masking mismatch with weighted text (#5218)

Features

  • Add cache tracing instrumentation for Spring Boot 2, 3, and 4 (#5165)
    • Wraps Spring CacheManager and Cache beans to produce cache spans
    • Set sentry.enable-cache-tracing to true to enable this feature
  • Add JCache (JSR-107) cache tracing via new sentry-jcache module (#5165)
    • Wraps JCache Cache with SentryJCacheWrapper to produce cache spans
    • Set the enableCacheTracing option to true to enable this feature
  • Add configurable IScopesStorageFactory to SentryOptions for providing a custom IScopesStorage, e.g. when the default ThreadLocal-backed storage is incompatible with non-pinning thread models (#5199)
  • Android: Add beforeErrorSampling callback to Session Replay (#5214)
    • Allows filtering which errors trigger replay capture before the onErrorSampleRate is checked
    • Returning false skips replay capture entirely for that error; returning true proceeds with the normal sample rate check
    • Example usage:
      SentryAndroid.init(context) { options ->
          options.sessionReplay.beforeErrorSampling =
              SentryReplayOptions.BeforeErrorSamplingCallback { event, hint ->
                  // Only capture replay for crashes (excluding e.g. handled exceptions)
                  event.isCrashed
              }
      }

Dependencies

  • Bump Native SDK from v0.13.2 to v0.13.3 (#5215)
  • Bump OpenTelemetry (#5225)
    • opentelemetry to 1.60.1 (was 1.57.0)
    • opentelemetry-instrumentation to 2.26.0 (was 2.23.0)
    • opentelemetry-instrumentation-alpha to 2.26.0-alpha (was 2.23.0-alpha)
    • opentelemetry-semconv to 1.40.0 (was 1.37.0)
    • opentelemetry-semconv-alpha to 1.40.0-alpha (was 1.37.0-alpha)

@github-actions github-actions bot requested a review from alwx as a code owner March 25, 2026 12:30
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Mar 25, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch from 672d42a to e8d0de1 Compare March 25, 2026 12:30
@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 25, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): update Android SDK to v8.37.1 by github-actions[bot] in #5884

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 25, 2026

Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request
🚫

❌ Android SDK Version Mismatch

Component Version
sentry-android in build.gradle 8.37.1
sentry-android bundled by gradle plugin 6.2.0 8.36.0

This mismatch will cause crashes on Android with error:

IllegalStateException: Sentry SDK has detected a mix of versions

Fix: Update packages/core/android/build.gradle to use version 8.36.0 or wait for a gradle plugin release that bundles 8.37.1.

Warnings
⚠️

🤖 Replay Stubs Check

No changes detected in replay-stubs.jar

All file contents are identical (verified by SHA-256 hash comparison).

Generated by 🚫 dangerJS against 4d8415e

Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking as Blocked till the version missmatch is tackled

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch 7 times, most recently from 4c602a4 to 3f69db2 Compare March 26, 2026 11:11
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.37.0 chore(deps): update Android SDK to v8.37.1 Mar 26, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch from 3f69db2 to 3084aa5 Compare March 26, 2026 12:18
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

implementation 'com.facebook.react:react-native:+'
api 'io.sentry:sentry-android:8.36.0'
debugImplementation 'io.sentry:sentry-spotlight:8.36.0'
api 'io.sentry:sentry-android:8.37.1'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expo handler sentry-android version not updated to 8.37.1

Low Severity

The sentry-android dependency in packages/core/android/expo-handler/build.gradle is still at 8.36.0 while build.gradle and replay-stubs/build.gradle were bumped to 8.37.1. The scripts/update-android.sh automation doesn't update the expo-handler file, creating a version mismatch across the Android modules. Flagging this because the review rules require checking dependency updates for compatibility issues across the codebase.

Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch from 3084aa5 to 2d543fb Compare March 26, 2026 12:55
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch from 2d543fb to 4d8415e Compare March 26, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Blocked dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants